const getters = {
  token: state => state.user.token,
  id: state => state.user.id,
  nickname: state => state.user.nickname,
  avatar: state => state.user.avatar,
  sex: state => state.user.sex,
  coin: state => state.user.coin,
  vipLevel: state => state.user.vipLevel,
  funNum: state => state.user.funNum,
  followNum: state => state.user.followNum,
  exp: state => state.user.exp,
  barNum: state => state.user.barNum
}

export default getters
